﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Platform.Hardware.Database.Base
{
    public interface IDatabase
    {
        /// <summary>
        /// 是否加载成功
        /// </summary>
        bool Initialized { get; }
        /// <summary>
        /// 连接状态 
        /// </summary>
        bool Connected { get; }
        /// <summary>
        /// 运行消息
        /// </summary>
        string Message { get; }
        bool Init(DatabaseConfig bridgeConfig);
        void Close();
    }
}
